<include file="public:header" />
<body>
<div class="g-install" style="margin-bottom: 40px;">
	<form id="J_install_form" action="{:U('finish_done')}" method="post">
	    <div class="m-head">
	        <h1>安装进行中</h1>
	    </div>
	    <div class="m-body">
	        <div class="m-log">
	        	<div id="J_process" class="c_main_body process"></div>
		        <div id="J_link" class="act" style="display: none;">
		        <iframe src="about:blank" style="width: 500px; height: 300px; display: none;" name="post_target"></iframe>
	        </div>
	    </div>
	    </div>
	    <div class="m-foot">
 
        <a href="{:U('finish')}" class="submit">{:L('next')}</a>
    </div>
    </form>
</div>
</body>
<script>
$(function(){
    $('#J_install_form').attr('target', 'post_target');
    $('#J_install_form').submit();
});
function show_process(html){
    $('#J_process').html($('#J_process').html() + html);
    var _t = $('#J_process').get(0);
    _t.scrollTop = _t.scrollHeight;
}
function install_successed(){
    $('#J_link').show();
}
</script>
</html>